home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 June
/
CHIP Haziran 2001.iso
/
prog
/
share
/
04
/
setup.exe
/
MM6.Cab
/
F1540_Idle.action.F6A680DD_F3FB_4CF3_BABB_0D0F06E630F5
< prev
next >
Wrap
Text File
|
2000-08-17
|
4KB
|
106 lines
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Idle Action</title>
<meta name="generator" content="Adobe GoLive 5">
</head>
<body bgcolor="white">
<center>
<font size="6">Idle Action</font>
<hr>
</center>
<csactionclass name="Idle" function="CSIdleAction" nsversion="4" ieversion="4" actiontype="2">
<csactionparam name="idle" type="GLActionBoolParam"></csactionparam>
<csactionparam name="condition" type="GLActionConditionParam"></csactionparam>
</csactionclass>
<p>IE Functions Script
<script language="JavaScript1.2" src="../../GlobalScripts/IE.scpt" cyberversion="N1.2"></script>
</p>
<p>StylePos Functions Script
<script language="JavaScript1.2" src="../../GlobalScripts/StylePos.scpt"></script>
</p>
<p>Loop Functions Script
<script language="JavaScript1.2" src="../../GlobalScripts/MainLoop.scpt" cyberversion="N1.2"></script>
</p>
<p>Slide Functions Script
<script language="JavaScript1.2" src="../../GlobalScripts/SlideLayer.scpt"></script>
</p>
<p>Idle Action Main Script
<script language="JavaScript1.2" cyberversion="N1.2"><!--
function CSIdleObject (action) {
this.conditionAction = action[2];
this.trueAction = action[3];
this.falseAction = action[4];
this.exitIdleIfTrue = action[1];
this.lastState = false;
}
function CSIdleAction(action) {
idleObj = new CSIdleObject (action);
CSStartFunction (CSDoIdle,idleObj);
}
function CSDoIdle (param) {
idleObject=param.data;
if (idleObject.conditionAction) {
gCurrentIdleObject = idleObject;
var result = CSAction(new Array(idleObject.conditionAction));
if (result == true && idleObject.lastState==false) {
idleObject.lastState = result;
if (idleObject.trueAction) {
CSAction(new Array(idleObject.trueAction));
if (idleObject.exitIdleIfTrue == true) return false;
}
} else if (result == false && idleObject.lastState == true) {
idleObject.lastState = false;
if (idleObject.falseAction) {
CSAction(new Array(idleObject.falseAction));
}
}
}
return true;
}
// -->
</script>
</p>
<table cool width="221" height="153" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
<tr height="1" cntrlrow>
<td width="1" height="1"><spacer type="block" width="1" height="1"></td>
<td width="4" height="1"><spacer type="block" width="4" height="1"></td>
<td width="20" height="1"><spacer type="block" width="20" height="1"></td>
<td width="196" height="1"><spacer type="block" width="196" height="1"></td>
</tr>
<tr height="6">
<td width="1" height="6"><spacer type="block" width="1" height="6"></td>
<td width="4" height="6"><spacer type="block" width="4" height="6"></td>
<td width="20" height="6"><spacer type="block" width="20" height="6"></td>
<td width="196" height="6"><spacer type="block" width="196" height="6"></td>
</tr>
<tr height="3">
<td width="1" height="3"><spacer type="block" width="1" height="3"></td>
<td width="4" height="3"><spacer type="block" width="4" height="3"></td>
<td width="20" height="21" colspan="1" rowspan="2" valign="top" align="left" xpos="4">
<csactioncntrl name="idle" x="4" y="6" width="16" height="16" alignx="left" aligny="top">
</td>
<td width="196" height="3"><spacer type="block" width="196" height="3"></td>
</tr>
<tr height="18">
<td width="1" height="18"><spacer type="block" width="1" height="18"></td>
<td width="4" height="18"><spacer type="block" width="4" height="18"></td>
<td width="196" height="18" colspan="1" rowspan="1" valign="top" align="left" xpos="24">
<csactioncntrl type="InfoText" value="Exit Idle If Condition returns True" x="24" y="9" width="189" height="16" alignx="left" aligny="top">
</td>
</tr>
<tr height="125">
<td width="1" height="125"><spacer type="block" width="1" height="125"></td>
<td width="4" height="125"><spacer type="block" width="4" height="125"></td>
<td width="216" height="125" colspan="2" rowspan="1" valign="top" align="left" xpos="4">
<csactioncntrl name="condition" x="4" y="27" width="212" height="116" alignx="scale" aligny="scale">
</td>
</tr>
</table>
</body>
</html>